package com.wjp.banquet.common.exception;

import lombok.Data;

/**
 * @Author 王君平
 * @Date 2023/8/28 14:03
 * @Description
 */
@Data
public class BusinessException extends RuntimeException{

    private Integer code;

    private String msg;

    public BusinessException(Integer code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }
}
